package com.iteaj.iboot.module.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.iteaj.framework.BaseEntity;
import lombok.Data;

@Data
@TableName("sys_role_menu")
public class RoleMenu extends BaseEntity {

    /**
     * 菜单id
     */
    private Long mid;

    /**
     * 角色id
     */
    private Long rid;

    public RoleMenu() {}

    public RoleMenu(Long mid, Long rid) {
        this.mid = mid;
        this.rid = rid;
    }
}
